package epucjr.psicopuc.busca;


public class Paginacao {

    private int firstResult;
    private int maxResult;


    /* public List<Candidato> criarPaginas(List<Candidato> candidato, FullTextEntityManager fullTextEntityManager, Query query, GeradorQueryLucene testeluceneQ){
    query = (Query) fullTextEntityManager.createFullTextQuery(testeluceneQ.getLuceneQuery(), Candidato.class);

    query.setFirstResult(0).setMaxResults(10);

    List<Candidato> listaDeCandidatos = query.getResultList();



    return candidato;
    }*/
    public int getFirstResult() {
        return firstResult;
    }

    /**
     * @param firstResult the firstResult to set
     */
    public void setFirstResult(int firstResult) {
        this.firstResult = firstResult;

    }

    /**
     * @return the maxResult
     */
    public int getMaxResult() {
        return maxResult;
    }

    /**
     * @param maxResult the maxResult to set
     */
    public void setMaxResult(int maxResult) {
        this.maxResult = maxResult;
    }
    /**
     * @return the maxResult
     */
}
